package com.bbcare.department.plat.entity;

import java.io.Serializable;

import javax.persistence.Entity;

import com.bbcare.comm.DateUtil;

/**
 * DEPT_BASICINFO 实体类 Tue Apr 11 10:59:48 CST 2017 ******
 */

@Entity
public class DepartmentBasic implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    private String id;
    private String deptIntroduce;
    private String deptName;
    private String hospName;
    private String hospIntroduce;
    private String adept;
    private String createTime;
    private String createAuthor;
    private String updateAuthor;
    private String updateTime;
    private String remark1;
    private String remark2;
    private String hospPicture;
    private String hospIcon;
    private String refDepartmentId;// 关联app服务端科室id
    private String refHospitalId;// 关联app服务端医院id
    private String tenantId; //租户id
	private String qrCode; //科室二维码
    private String platType;//小程序类型

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getPlatType() {
        return platType;
    }

    public void setPlatType(String platType) {
        this.platType = platType;
    }

    public String getQrCode() {
		return qrCode;
	}

	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}
	
    public String getTenantId() {
		return tenantId;
	}

	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}

	public String getUpdateAuthor() {
        return updateAuthor;
    }

    public void setUpdateAuthor(String updateAuthor) {
        this.updateAuthor = updateAuthor;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setDeptIntroduce(String deptIntroduce) {
        this.deptIntroduce = deptIntroduce;
    }

    public String getDeptIntroduce() {
        return deptIntroduce;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setHospName(String hospName) {
        this.hospName = hospName;
    }

    public String getHospName() {
        return hospName;
    }

    public void setHospIntroduce(String hospIntroduce) {
        this.hospIntroduce = hospIntroduce;
    }

    public String getHospIntroduce() {
        return hospIntroduce;
    }

    public void setAdept(String adept) {
        this.adept = adept;
    }

    public String getAdept() {
        return adept;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = DateUtil.getTimeStampSec(createTime);
    }

    public String getCreateAuthor() {
        return createAuthor;
    }

    public void setCreateAuthor(String createAuthor) {
        this.createAuthor = createAuthor;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {

        this.updateTime = DateUtil.getTimeStampSec(updateTime);
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    public String getRemark1() {
        return remark1;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

    public String getRemark2() {
        return remark2;
    }

    public void setHospPicture(String hospPicture) {
        this.hospPicture = hospPicture;
    }

    public String getHospPicture() {
        return hospPicture;
    }

    public void setHospIcon(String hospIcon) {
        this.hospIcon = hospIcon;
    }

    public String getHospIcon() {
        return hospIcon;
    }

    public String getRefDepartmentId() {
        return refDepartmentId;
    }

    public void setRefDepartmentId(String refDepartmentId) {
        this.refDepartmentId = refDepartmentId;
    }

    public String getRefHospitalId() {
        return refHospitalId;
    }

    public void setRefHospitalId(String refHospitalId) {
        this.refHospitalId = refHospitalId;
    }
}
